package com.cherrish.free4j.web.dao.sys;

import com.cherrish.free4j.basic.generic.GenericDao;
import com.cherrish.free4j.web.model.sys.RPermission;
import com.cherrish.free4j.web.model.sys.RPermissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import sun.net.www.content.text.Generic;

public interface RPermissionMapper extends GenericDao<RPermission,Long>{
    int countByExample(RPermissionExample example);

    int deleteByExample(RPermissionExample example);

    int deleteByPrimaryKey(Long sid);

    int insert(RPermission record);

    int insertSelective(RPermission record);

    List<RPermission> selectByExample(RPermissionExample example);

    RPermission selectByPrimaryKey(Long sid);

    int updateByExampleSelective(@Param("record") RPermission record, @Param("example") RPermissionExample example);

    int updateByExample(@Param("record") RPermission record, @Param("example") RPermissionExample example);

    int updateByPrimaryKeySelective(RPermission record);

    int updateByPrimaryKey(RPermission record);
}